:root {
  --primary: #31c27c;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font: 14px/1.5 Microsoft YaHei;
  background: #f5f5f5;
  color: #000;
  min-width: 1000px;
}
a {
  color: #000;
  text-decoration: none;
}
header {
  height: 90px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-inner img {
  height: 40px;
}
main {
  width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}
.sec h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
.tag-list {
  margin-bottom: 20px;
}
.tag-item {
  display: inline-block;
  padding: 0 8px;
  line-height: 26px;
  margin-right: 24px;
}
.tag-active {
  background: var(--primary);
  color: #fff;
}
.nowrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 歌单 */
.playlist {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.card .title {
  padding: 8px 10px;
  font-size: 14px;
}
.card .num {
  padding: 0 10px 10px;
  font-size: 12px;
  color: #999;
}

/* 新歌 */
.songlist {
  background: #fff;
  border-radius: 4px;
  padding: 15px 0;
}
.song {
  display: flex;
  align-items: center;
  padding: 8px 20px;
}
.song:hover {
  background: #fafafa;
}
.song img {
  width: 50px;
  height: 50px;
  margin-right: 12px;
  border-radius: 4px;
}
.song .info {
  flex: 1;
}
.song .name {
  font-size: 16px;
}
.song .singer {
  font-size: 12px;
  color: #999;
}
.song .time {
  font-size: 12px;
  color: #999;
}

/* ===== 精选MV（修复版：cover_play.png 绝对居中） ===== */
.mvlist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mv-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
}
.mv-card img.mv-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform .75s;
}
.mv-mask {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity .5s;
}
.mv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.7);
  width: 50px;
  height: 50px;
  opacity: 0;
  transition: all .5s;
  pointer-events: none;
}
/* hover 三联动 */
.mv-card:hover img.mv-cover {
  transform: scale(1.07);
}
.mv-card:hover .mv-mask {
  opacity: .2;
}
.mv-card:hover .mv-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.mv-info {
  padding: 10px;
}
.mv-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.mv-singer {
  font-size: 12px;
  color: #999;
}

footer {
  margin-top: 60px;
  height: 200px;
  background: #333;
}